<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\ErrorCode;
use App\Http\Controllers\SuccessCode;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Model\PayConfig as Model;
use App\Http\Controllers\Common;
use Cache;
class PayConfig extends Controller
{
    use Common;
    public function payType(Request $request)
    {
        $data = Model::orderBy("create_time","desc")->first();
        return $this->getView($data,SuccessCode::GET_SUCCESS);
    }
}
